Release 10.1A: OpenEdge Development:
Debugging and Troubleshooting
FileID logging
Specifying the
FileIDlog entry type turns on logging for file opening, file closing, and error messages that do not contain the filename. Regarding the latter, there are a few OpenEdge error messages that indicate a problem in accessing a file, but do not show the filename in the message. The message only shows aFileIDnumber. This makes it rather difficult to diagnose the problem. If you turn onFileIDlogging, OpenEdge will write a log entry that will show both the filename and ID just before it displays the error message. It might be useful to use this feature for other purposes as well. It might reveal inefficiencies in your 4GL code (opening an closing a file too many times), indicate why something is not working because the wrong file is being accessed (PROPATHorPATHproblems), or provide insight if you have exceeded the limit on the number of open files. Information is logged at logging level 2 (Basic) and higher.Log entries generated for this type contain the tag
FILEID.An example ofFileIDlogging messages (with headers suppressed) is shown:
You also can turn on this logging at run time, by using the
LOG-MANAGERsystem handle. For example, you can include the following line in the 4GL code:
You can turn off this logging in the 4GL application by resetting the attribute. For example:
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |